/**
 * Created by xiangjiayu on 2017/5/31.
 */
import immutable from 'immutable';
import Mock from 'mockjs';

var constants = function () {

};
export default constants;

let auntList = [];
var Random = Mock.Random;

for(var i=0; i<=20; i++){
    auntList.push(
        Mock.mock({
            "Picture":Random.image('45x45', '#00c292', '#FFF', 'Mock.js'),
            "Name|1": '@cname',
            "Phone": /^1[34578]\d{9}$/,
            "Sex|1": [
                "男",
                "女"
            ],
            "Age": '@natural(40, 60)',
            "Job|1": [
                "长期钟点工",
                "育儿嫂",
                "临时保洁",
                "清洗",
                "月嫂",
                "老人陪护",
                "家教"
            ],
            "Marry|1": [
                "已婚",
                "未婚",
                "离婚"
            ],
            "AddressNow": '@city(true)',
            "Education|1":[
                '小学',
                '初中',
                '高中',
                '大专',
                '大学',
                '研究生',
                '博士',
                '博士后'
            ],
            "Cook|1":[
                '不会',
                '一般',
                '好',
                '很好'
            ],
            "IDnumber":'@id()',
            "Postnature|1":[
                '兼职',
                '全职'
            ],
            "Incumbency|1":[
                '待岗',
                '在职',
                '离职'
            ],
            "Level|1":[
                '一星月嫂',
                '二星月嫂',
                '三星月嫂',
                '四星月嫂',
                '五星月嫂'
            ],
            "Source|1":[
                '协会官网',
                '协会官网2',
                '协会官网3',
                '协会官网4'
            ],
            "State|1":[
                '待申请',
                '待认证',
                '已认证'
            ],
            "createTime": '@datetime'
        })
    );

}
constants.auntListTable = immutable.fromJS(auntList);